import globals from "globals";
import pluginVue from "eslint-plugin-vue";


/** @type {import('eslint').Linter.Config[]} */
export default [
  { files: ["**/*.{js,mjs,cjs,vue}"] },
  { languageOptions: { globals: globals.browser } },
  ...pluginVue.configs["flat/essential"],
  {
    rules: {
      'style/no-mixed-operators': 'off',
      '@typescript-eslint/no-explicit-any': 'off',
      'vue/component-name-in-template-casing': ['off'],
      'style/member-delimiter-style': 'off',
      'vue/multi-word-component-names': 'off',
      'vue/no-mutating-props': 'off',
      'vue/valid-define-emits': 'off',
      'vue/require-valid-default-prop': 'off',
    }
  }
];